package de.koller.singularity.client.input;

import de.koller.aframe.util.thread.ICommand;
import de.koller.singularity.client.SClient;

public class MouseClickCall implements ICommand {
	
	private final SClient client;
	private final int x, y;
	
	public MouseClickCall( SClient client, int x, int y ) {
		this.client = client;
		this.x = x;
		this.y = y;
	}

	@Override
	public void handle( Object... params ) {
		client.click( x, y );
	}
	
}
